package top.xiangqifu.springboot2_auth.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import top.xiangqifu.springboot2_auth.entity.TbAuthUser;
import top.xiangqifu.springboot2_auth.entity.TbAuthUserInfo;
import top.xiangqifu.springboot2_auth.entity.TbUserMessage;

import java.io.Serializable;

@Data
@ApiModel(value = "用户留言信息" , description = "用户留言信息应答对象")
public class MessageVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "1：按照发帖时间降序(默认)，2：按照发帖时间升序，3：按照评论数降序，4：按照评论数升序，5：按照点赞数降序，6：按照点赞数升序，7：按照点击量降序，8：按照点击量升序",example = "2")
    @ApiParam(hidden = true)
    private Integer orderBy=2;
    @ApiModelProperty(value = "留言信息对象",example = "")
    @ApiParam(hidden = true)
    private TbUserMessage tbUserMessage;

}
